using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace SIMc
{
    public partial class AddGroupFrom : Form
    {
        string groupName;

        public string getGroupName() {
            return groupName;
        }

        public void setGroupName(string groupName) {
            this.groupName = groupName;
            TB_groupName.Text = groupName;
            B_OK.Text = "Change";
        }

        public AddGroupFrom()
        {
            InitializeComponent();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.groupName = TB_groupName.Text;
        }
    }
}